#ifndef QDEVICEDATAWINDOW_H
#define QDEVICEDATAWINDOW_H

#include "../../libs/device/qbasedefine.h"

#include <QMainWindow>
#include <QMenuBar>
#include <QStatusBar>
#include <QProgressDialog>

class QDeviceFancTabWidget;
class QDeviceDataView;
class QLogDatabaseView;

namespace Ui {
class QDeviceDataWindow;
}

class QProjectInformationTreeWidget;

class QDeviceDataWindow : public QMainWindow
{
    Q_OBJECT
    
public:
    explicit QDeviceDataWindow(tagDeviceInfo* info,QWidget *parent = 0);
    ~QDeviceDataWindow();
protected:
    void    init_memu_bar();
protected slots:
    void    property_refresh(const QString &uuid,const QStringList &list);
    void    device_offline(const QString& uuid);
private:
    Ui::QDeviceDataWindow *ui;
    QMenuBar        *m_menu_bar;
    QStatusBar      *m_status_bar;
    QProjectInformationTreeWidget       *m_tree_widget;
    tagDeviceInfo   m_device_info;
    QDeviceFancTabWidget    *m_device_widget;
    QDeviceDataView         *m_data_view;

};

#endif // QDEVICEDATAWINDOW_H
